package com.ushio.commonmodule.pojo.user;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("user")
@Schema(name = "user",defaultValue = "用户实体类")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @Schema(defaultValue = "用户id")
    private Long userId;
    @Schema(defaultValue = "用户名称")
    private String userName;
    @Schema(defaultValue = "用户昵称")
    private String userAccount;
    @Schema(defaultValue = "密码")
    private String passWord;
    @Schema(defaultValue = "角色id")
    private Integer roleId;
    @Schema(defaultValue = "部门id")
    private Integer departmentId;
    @Schema(defaultValue = "电话")
    private String phone;
    @Schema(defaultValue = "邮箱")
    private String email;
    @Schema(defaultValue = "创建时间")
    private Date createTime;
    @Schema(defaultValue = "修改时间")
    private Date updateTime;
    @Schema(defaultValue = "创建用户")
    private Long createUser;
    @Schema(defaultValue = "修改用户")
    private Long updateUser;
    @Schema(defaultValue = "是否删除")
    private Boolean remove;
}
